home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Fwd: Promises
- Sent: 8/21/96 10:29 AM
- Received: 8/21/96 10:32 AM
- From: Mike Halpin, jalapeno@softharmony.com
- To: Henri Lamiraux, lamiraux@apple.com
- ODF, ODF-Interest@CILabs.ORG
-
- >As best I can figure out, ODF does not let me put out promises for the
- >FW_kPartStorage FW_EStorageKinds. Here's where that's a performance
- >problem. Let's say I have Rapid-I Button embedded inside ODF Container. I
- >select the button, then start to drag. There is no drag feedback for 2
- >seconds as the button externalizes its content and its frame's cache to
- >the drag storage unit.
-
- The issue here is writing a promise in a part's CloneInto method. When
- the kODPropContentFrame property is detected in CloneInto, and at no
- other time, part's may promise their entire content. This avoids the
- performance problems you have observed.
-
- You are correct, ODF currently does not support this, though it is
- planned for the near future (unfortunately not in the upcoming R2
- release).
-
- The present design of the framework does not lend itself well to
- accomplishing this by overriding the existing behavior. If you are
- interested in doing so, I can probably help you to determine what would
- be necessary, though frankly, it would probably be easier for me to fix
- the framework than for you to figure out how to work around the current
- limitation.
-
-
- Mike Halpin
-